<!DOCTYPE html>
<html lang="en">
    
    <!-- Mirrored from 198.74.61.72/themes/preview/ace/login.html by HTTrack Website Copier/3.x [XR&CO'2013], Wed, 29 Jan 2014 16:59:16 GMT -->
    <head>
        <meta charset="utf-8" />
        <title>Login Page - Order System</title>
        <meta name="description" content="User login page" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <!-- basic styles -->
        
        <link href="<?php echo Yii::app()->baseUrl."/assets/css/bootstrap.min.css" ?>" rel="stylesheet" />
        
        <link href="<?php echo Yii::app()->baseUrl."/assets/css/font-awesome.min.css" ?>" rel="stylesheet" />
        <!--[if IE 7]>

        <link href="<?php echo Yii::app()->baseUrl."/assets/css/font-awesome-ie7.min.css" ?>" rel="stylesheet" />
        <![endif]-->
        <!-- page specific plugin styles -->
        <!-- fonts -->
        <link href="<?php echo Yii::app()->baseUrl."/assets/css/ace-fonts.css" ?>" rel="stylesheet" />
        <!-- ace styles -->
        <link href="<?php echo Yii::app()->baseUrl."/assets/css/ace.min.css" ?>" rel="stylesheet" />
        <link href="<?php echo Yii::app()->baseUrl."/assets/css/ace-rtl.min.css" ?>" rel="stylesheet" />
        <link href="<?php echo Yii::app()->baseUrl."/assets/css/ace-skins.min.css" ?>" rel="stylesheet" />
        <!--[if lte IE 8]>
          <link href="<?php echo Yii::app()->baseUrl."/assets/css/ace-ie.min.css" ?>" rel="stylesheet" />
        <![endif]-->
        <!-- inline styles related to this page -->
        <!-- ace settings handler -->
        <script src="<?php echo Yii::app()->baseUrl."/assets/js/ace-extra.min.js" ?>"></script>
        <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
        <!--[if lt IE 9]>
        <script src="<?php echo Yii::app()->baseUrl."/assets/js/html5shiv.js" ?>" ></script>
        <script src="<?php echo Yii::app()->baseUrl."/assets/js/respond.min.js" ?>" ></script>
        <![endif]-->
        <!-- order_system-->
        <link href="<?php echo Yii::app()->baseUrl."/assets/css/ordersystem.css" ?>" rel="stylesheet" />
    </head>
    <body class="login-layout">
        <div class="main-container">
            <div class="main-content">
                <div class="row">
                    <div class="col-sm-10 col-sm-offset-1">
                        <div class="login-container">
                            <div class="center">
                                <h1>
                                    <img src="<?php echo Yii::app()->request->baseUrl; ?>/assets/css/images/logo.png" height = "30" width = "30"></>
                                    <span class="red">Order</span>
                                    <span class="white">System</span>
                                </h1>
                                <h4 class="blue">&copy; THINK2DO</h4>
                            </div>
                            <div class="space-6"></div>
                            <div class="position-relative">                                                                                                                         
                                <div id="login-box" class="login-box visible widget-box no-border">
                                    <div class="widget-body">
                                        <div class="widget-main">
                                            <h4 class="header blue lighter bigger" >
                                                <img src="<?php echo Yii::app()->request->baseUrl; ?>/assets/css/images/logo.png"></>
                                                <strong>Đăng Nhập</strong>
                                            </h4>
                                            <div class="space-6"></div>
                                             <?php $form=$this->beginWidget('CActiveForm');?>                                                                                            
                                            <fieldset>
                                                <?php echo $form->error($model,'username');?>      
                                                <?php echo $form->error($model,'password');?>                 
                                                <label class="block clearfix">
                                                    <span class="block input-icon input-icon-right">
                                                        <input type="text" class="form-control" placeholder="Username"  id="LoginForm_username" name="LoginForm[username]"/>
                                                        <i class="icon-user"></i>
                                                    </span>
                                                </label>
                                                <label class="block clearfix">
                                                    <span class="block input-icon input-icon-right">
                                                        <input type="password" class="form-control" placeholder="Password"  id="LoginForm_password" name="LoginForm[password]"/>
                                                        <i class="icon-lock"></i>
                                                    </span>
                                                </label>
                                                
                                                <div class="space"></div>
                                                <div class="clearfix">
                                                    <label class="inline">
                                                        <input type="checkbox" class="ace" id="LoginForm_rememberMe" value="" name="LoginForm[rememberMe]"/>
                                                        <span class="lbl"> Remember Me</span>
                                                    </label> 
                                                    <?php echo $form->error($model,'rememberMe'); ?>
                                                    <button type="submit" class="width-35 pull-right btn btn-sm btn-primary" name="login">
                                                        <i class="icon-key"></i>
                                                        Login
                                                    </button>                                                                                                           
                                                </div>
                                                <div class="space-4"></div>
                                            </fieldset>											
		<?php $this->endWidget(); ?>
                                        </div><!-- /widget-main -->
                                        <div class="toolbar clearfix">
                                            <div>
                                                <a href="#" onclick="show_box('forgot-box'); return false;" class="forgot-password-link">
                                                    <i class="icon-arrow-left"></i>
                                                    I forgot my password
                                                </a>
                                            </div>
                                            
                                            <div>
                                                <a href="#" onclick="show_box('signup-box'); return false;" class="user-signup-link">
                                                    I want to register
                                                    <i class="icon-arrow-right"></i>
                                                </a>
                                            </div>
                                        </div>
                                    </div><!-- /widget-body -->
                                </div><!-- /login-box -->
                                
                                <div id="forgot-box" class="forgot-box widget-box no-border">
                                    <div class="widget-body">
                                        <div class="widget-main">
                                            <h4 class="header red lighter bigger">
                                                <i class="icon-key"></i>
                                                Retrieve Password
                                            </h4>
                                            
                                            <div class="space-6"></div>
                                            <p>
                                                Enter your email and to receive instructions
                                            </p>
                                            <?php $form=$this->beginWidget('CActiveForm'); ?>
                                            <form action="ForgotForm.php" method="post" name="forgot">
                                                <fieldset>
                                                    <label class="block clearfix">
                                                        <span class="block input-icon input-icon-right">
                                                            <input type="email" class="form-control" placeholder="Email" id="ForgotForm_email" name="ForgotForm[email]"/>
                                                            <i class="icon-envelope"></i>
                                                        </span>
                                                    </label>
                                                                                                                                                                                                                                                         <?php echo $form->error($model,'email'); ?>
                                                    <div class="clearfix">
                                                        <button type="submit" class="width-35 pull-right btn btn-sm btn-danger" name="forgot">
                                                            <i class="icon-lightbulb"></i>
                                                            Send Me!
                                                        </button>
                                                        
                                                    </div>
                                                </fieldset>
                                            </form>
                                                                                        <?php $this->endWidget(); ?>
                                        </div><!-- /widget-main -->
                                        
                                        <div class="toolbar center">
                                            <a href="#" onclick="show_box('login-box'); return false;" class="back-to-login-link">
                                                Back to login
                                                <i class="icon-arrow-right"></i>
                                            </a>
                                        </div>
                                    </div><!-- /widget-body -->
                                </div><!-- /forgot-box -->
                                
                                <div id="signup-box" class="signup-box widget-box no-border">
                                    <div class="widget-body">
                                        <div class="widget-main">
                                            <h4 class="header green lighter bigger">
                                                <i class="icon-group blue"></i>
                                                New User Registration
                                            </h4>
                                            
                                            <div class="space-6"></div>
                                            <p> Enter your details to begin: </p>
                                        <?php $form=$this->beginWidget('CActiveForm');?>                                            
                                            <form action="RegisterForm.php" method="post">
                                                <fieldset>
                                                   <?php echo $form->error($modelregister,'name'); ?>   
                                                   <?php echo $form->error($modelregister,'email'); ?>
                                                   <?php echo $form->error($modelregister,'username'); ?>
                                                   <?php echo $form->error($modelregister,'password'); ?>
                                                   <?php echo $form->error($modelregister,'cpassword'); ?>
                                                   <?php echo $form->error($modelregister,'mobile'); ?>
                                                   <?php echo $form->error($modelregister,'accept'); ?>
                                                    <label class="block clearfix">
                                                        <span class="block input-icon input-icon-right">
                                                            <input type="text" class="form-control" placeholder="Your Name" id="RegisterForm_name" name="RegisterForm[name]"/>
                                                            <i class="icon-user"></i>
                                                        </span>
                                                    </label>
                                                    <label class="block clearfix">
                                                        <span class="block input-icon input-icon-right">
                                                            <input type="email" class="form-control" placeholder="Email" id="RegisterForm_email" name="RegisterForm[email]"/>
                                                            <i class="icon-envelope"></i>
                                                        </span>
                                                    </label>
                                                    <label class="block clearfix">
                                                        <span class="block input-icon input-icon-right">
                                                            <input type="text" class="form-control" placeholder="Username" id="RegisterForm_username" name="RegisterForm[username]"/>
                                                            <i class="icon-user"></i>
                                                        </span>
                                                    </label>
                                                    <label class="block clearfix">
                                                        <span class="block input-icon input-icon-right">
                                                            <input type="password" class="form-control" placeholder="Password" id="RegisterForm_password" name="RegisterForm[password]"/>
                                                            <i class="icon-lock"></i>
                                                        </span>
                                                    </label>
                                                    <label class="block clearfix">
                                                        <span class="block input-icon input-icon-right">
                                                            <input type="password" class="form-control" placeholder="Repeat Password" id="RegisterForm_cpassword" name="RegisterForm[cpassword]"/>
                                                            <i class="icon-retweet"></i>
                                                        </span>
                                                    </label>
                                                    <label class="block clearfix">
                                                        <span class="block input-icon input-icon-right">
                                                            <input type="text" class="form-control" placeholder="Mobile/Phone" id="RegisterForm_mobile" name="RegisterForm[mobile]"/>
                                                            <i class="icon-check"></i>
                                                        </span>
                                                    </label>
<!--                                                    <label class="block clearfix">
                                                        <span class="block input-icon input-icon-right">
                                                            <input type="select" class="form-control" id="RegisterForm_sale_point" name="RegisterForm[sale_point]"/>
                                                            <i class="icon-check"></i>
                                                            <select class="form-control" name="RegisterForm[sale_id]">
                                                                <option value="" selected="selected">Select Sale Point</option>
                                                                <?php //   foreach ($rows_salepoint as $key => $value): 
//                                                                    echo "<option value=".$value['id'].">".$value['id']."</option>";
//                                                                endforeach;?>
                                                            </select>
                                                        </span>
                                                    </label>-->
                                                     <?php // echo $form->error($model,'sale_id'); ?>
                                                    <label class="block">
                                                        <input type="checkbox" class="ace" id="RegisterForm_accept" value="1" name="RegisterForm[accept]"/>
                                                        <span class="lbl">
                                                            I accept the
                                                            <a href="#">User Agreement</a>
                                                        </span>
                                                    </label>
                                                    <div class="space-24"></div>
                                                    
                                                    <div class="clearfix">
                                                        <button type="reset" class="width-30 pull-left btn btn-sm" name="reset">
                                                            <i class="icon-refresh"></i>
                                                            Reset
                                                        </button>
                                                        
                                                        <button type="submit" class="width-65 pull-right btn btn-sm btn-success" name="register">
                                                            Register
                                                            <i class="icon-arrow-right icon-on-right"></i>
                                                            
                                                        </button>
                                                    </div>
                                                </fieldset>
                                            <?php $this->endWidget();?>
                                            </form>
                                        </div>
                                        
                                        <div class="toolbar center">
                                            <a href="#" onclick="show_box('login-box'); return false;" class="back-to-login-link">
                                                <i class="icon-arrow-left"></i>
                                                Back to login
                                            </a>
                                        </div>
                                    </div><!-- /widget-body -->
                                </div><!-- /signup-box -->
                            </div><!-- /position-relative -->
                        </div>
                    </div><!-- /.col -->
                </div><!-- /.row -->
            </div>
        </div><!-- /.main-container -->
        
        <!-- basic scripts -->
        
        <!--[if !IE]> -->
        
        <script type="text/javascript">
            window.jQuery || document.write("<script src='<?php echo Yii::app()->baseUrl?>/assets/js/jquery-2.0.3.min.js'>"+"<"+"/script>");
        </script>
        
        <!-- <![endif]-->
        
        <!--[if IE]>
<script type="text/javascript">
window.jQuery || document.write("<script src='assets/js/jquery-1.10.2.min.js'>"+"<"+"/script>");
</script>
<![endif]-->
        
        <script type="text/javascript">
            if("ontouchend" in document) document.write("<script src='<?php echo Yii::app()->baseUrl?>/assets/js/jquery.mobile.custom.min.js'>"+"<"+"/script>");
        </script>
        
        <!-- inline scripts related to this page -->
        
        <script type="text/javascript">
            function show_box(id) {
                jQuery('.widget-box.visible').removeClass('visible');
                jQuery('#'+id).addClass('visible');
            }
        </script>
    </body>
    
    <!-- Mirrored from 198.74.61.72/themes/preview/ace/login.html by HTTrack Website Copier/3.x [XR&CO'2013], Wed, 29 Jan 2014 16:59:16 GMT -->
</html>
